package com.example.tianwu.daydayup;

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;

/**
 * Created by Tianwu on 2015/11/19.
 */
public class Photo {
    public static final String FILE_NAME = "file_name";
    public static final String PHOTO_ID = "photo_id";
    public static final String DATE = "date";

    private String filename;
    private FaceData fd;
    private String id;
    private String date;

    public Photo(String id,String filename,FaceData fd,String date){
        this.id = id;
        this.filename = filename;
        this.fd = fd;
        this.date = date;
    }
    public String getFileName(){
        return filename;
    }
    public FaceData getFaceData(){
        return fd;
    }
    public String getId(){ return id; }
    public String getDate(){ return date; }
    public Photo(){
    }

}
